<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<%@include file="../common/head.jsp"%>
<div class="right">
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>用户管理页面 >> 用户信息查看页面</span>
    </div>
    <div class="providerView">
        <p><strong>用户编号：</strong><span>${requestScope.user.userCode }</span></p>
        <p><strong>用户名：</strong><span>${requestScope.user.userName }</span></p>
        <p><strong>用户性别：</strong>
            <span>
            		<c:if test="${requestScope.user.gender == 1 }">男</c:if>
					<c:if test="${requestScope.user.gender == 2 }">女</c:if>
            </span>
        </p>
        <fmt:formatDate value="${requestScope.user.birthday }" var="birthday" pattern="yyyy-MM-dd"></fmt:formatDate>
        <p><strong>出生日期：</strong><span>${birthday}</span></p>
        <p><strong>用户电话：</strong><span>${requestScope.user.phone }</span></p>
        <p><strong>用户地址：</strong><span>${requestScope.user.address }</span></p>
        <p><strong>用户角色：</strong><span>${requestScope.user.role.roleName}</span></p>
        <div class="providerAddBtn">
            <input type="button" id="back" onclick="window.history.back()"  name="back" value="返回" >
        </div>
    </div>
</div>
</section>
<%@include file="../common/foot.jsp" %>
